#if !defined(AFX_MYGRAPHINFOVIEW_H__EE99E058_CF37_4355_933D_D1C04355EF50__INCLUDED_)
#define AFX_MYGRAPHINFOVIEW_H__EE99E058_CF37_4355_933D_D1C04355EF50__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// MyGraphInfoView.h : header file
//

/////////////////////////////////////////////////////////////////////////////
// MyGraphInfoView view

class GraphInfoView : public CScrollView
{
protected:
	GraphInfoView();           // protected constructor used by dynamic creation
	DECLARE_DYNCREATE(GraphInfoView)

// Attributes
public:
	friend	class	ZWaveeditorDoc;
	ZWaveeditorDoc* GetDocument();
	int				wmaxx;
// Operations
public:
	void ChangeWindowTitle();

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(MyGraphInfoView)
	protected:
	virtual void OnDraw(CDC* pDC);      // overridden to draw this view
	virtual void OnInitialUpdate();     // first time after construct
	virtual void OnUpdate(CView* pSender, LPARAM lHint, CObject* pHint);
	virtual void OnActivateView(BOOL bActivate, CView* pActivateView, CView* pDeactiveView);
	//}}AFX_VIRTUAL

// Implementation
protected:
	virtual ~GraphInfoView();
#ifdef _DEBUG
	virtual void AssertValid() const;
	virtual void Dump(CDumpContext& dc) const;
#endif

	// Generated message map functions
	//{{AFX_MSG(MyGraphInfoView)
	afx_msg void OnKillFocus(CWnd* pNewWnd);
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
public:
	void UpdateView();
	void DrawGraphic(CDC *pDC,int xst, int yst, int xend, int yend, COLORREF clr);
	void DrawSign	(CDC *pDC,int xst, int yst, int xend, int yend, COLORREF clr);
};

/////////////////////////////////////////////////////////////////////////////
#ifndef _DEBUG  // debug version in waveeditorView.cpp
inline ZWaveeditorDoc* GraphInfoView::GetDocument()
   { return (ZWaveeditorDoc*)m_pDocument; }
#endif

/////////////////////////////////////////////////////////////////////////////

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_MYGRAPHINFOVIEW_H__EE99E058_CF37_4355_933D_D1C04355EF50__INCLUDED_)
